package org.example.ymcc.ro;

import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;

@Data
public class KillRo {
    @NotNull(message = "参数错误！")
    private Long courseKillId;//课程id
    @Range(min = 1,message = "至少购买1个")
    private Integer num;//用户的购买数量
    @NotNull(message = "参数错误！")
    private Long loginId;
}
